//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Rock The Country Rome: Kid Rock & Jason Aldean - 2 Day Pass','Kingston Downs','Rome, GA','Friday','5/10/2024','TBD','6089283','Rock-The-Country-Rome--Kid-Rock---Jason-Aldean---2-Day-Pass-5-10-2024'],['Good Kid - Band','Danforth Music Hall Theatre','Toronto, Canada','Friday','5/10/2024','7:00 PM','6118899','Good-Kid---Band-5-10-2024'],['Kid Rock's Rock N' Roll Rodeo','AT&T Stadium','Arlington, TX','Friday','5/17/2024','7:45 PM','6016664','Kid-Rock-s-Rock-N--Roll-Rodeo-5-17-2024'],['Good Kid - Band','Maxwell's Concerts and Events','Waterloo, Canada','Thursday','5/30/2024','7:30 PM','6119309','Good-Kid---Band-5-30-2024'],['Good Kid - Band','Le Studio TD','Montreal, Canada','Friday','5/31/2024','8:00 PM','6119022','Good-Kid---Band-5-31-2024'],['Good Kid - Band','Bronson Centre Theatre','Ottawa, Canada','Saturday','6/1/2024','8:30 PM','6119285','Good-Kid---Band-6-1-2024'],['Rock The Country Ocala: Kid Rock, Jason Aldean & Lynyrd Skynyrd - 2 Day Pass','Majestic Oaks Ocala','Reddick, FL','Friday','6/7/2024','TBD','6089285','Rock-The-Country-Ocala--Kid-Rock--Jason-Aldean---Lynyrd-Skynyrd---2-Day-Pass-6-7-2024'],['Rock The Country Mobile: Kid Rock & Jason Aldean - 2 Day Pass','The Grounds - Mobile','Mobile, AL','Friday','6/21/2024','TBD','6089287','Rock-The-Country-Mobile--Kid-Rock---Jason-Aldean---2-Day-Pass-6-21-2024'],['Rock The Country Poplar Bluff: Kid Rock, Jason Aldean & Hank Williams Jr. - 2 Day Pass','Brick's Off Road Park','Poplar Bluff, MO','Friday','6/28/2024','TBD','6089289','Rock-The-Country-Poplar-Bluff--Kid-Rock--Jason-Aldean---Hank-Williams-Jr----2-Day-Pass-6-28-2024'],['Rock The Country Anderson: Kid Rock, Jason Aldean & Miranda Lambert - 2 Day Pass','Anderson Sport and Entertainment Center','Anderson, SC','Friday','7/26/2024','TBD','6089291','Rock-The-Country-Anderson--Kid-Rock--Jason-Aldean---Miranda-Lambert---2-Day-Pass-7-26-2024'],['Sturgis Buffalo Chip's Motorcycle and Music Festival: Kid Rock - Campground Admission','Buffalo Chip Campground','Sturgis, SD','Thursday','8/8/2024','TBD','6164901','Sturgis-Buffalo-Chip-s-Motorcycle-and-Music-Festival--Kid-Rock---Campground-Admission-8-8-2024'],['Kid Kentucky and The American Bad A$$ Band - Kid Rock Tribute','Manchester Music Hall','Lexington, KY','Friday','8/16/2024','8:00 PM','6241787','Kid-Kentucky-and-The-American-Bad-A---Band---Kid-Rock-Tribute-8-16-2024']],'Kid Rock','http://www.ticketnetwork.com/ticket/Kid-Rock-events.aspx');